@charset "UTF-8";

html {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: #f5f5f5;
  color: 思源黑体;
  text-size-adjust: 100%;
}

body,
div,
span,
header,
footer,
nav,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
i,
b,
textarea,
button,
input,
select,
figure,
figcaption {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-family: '思源黑体';
  font-size: inherit;
  font-style: normal;
  font-weight: normal;
  user-select: none;
}

body {
  overflow: hidden;
}

button {
  background: none;
}

img {
  vertical-align: middle;
}

a {
  outline: none;
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  &:hover {
    color: #2473b7;
    text-decoration: none;
  }

  img {
    border: none;
  }
}

ol,
ul,
li,
dl,
dt,
dd {
  list-style: none;
}

/* 谷歌浏览器记住密码之后，自动填充后input的背景色和color默认样式去除 */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  transition: background-color 50000s ease-in-out 0s;
  background-color: transparent;
  background-image: none;
  box-shadow: 0 0 0 1000px transparent inset !important;
  font-size: 18px;
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff; /* 光标颜色 */
}

/* 滚动条 */
::-webkit-scrollbar-track-piece {
  border-radius: 3px;
  background: transparent;
}

/* 定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸 */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  background-color: transparent;
}

/* 定义滚动条轨道 内阴影+圆角 */
::-webkit-scrollbar-track {
  border-radius: 4px;
  background-color: transparent;
  box-shadow: var(--shadow-default);
}

/* 定义滑块 内阴影+圆角 */
::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: var(--background-scrollbar);
  box-shadow: var(--shadow-default);
}

video {
  &:focus {
    outline: 0;
  }
}

.dragger {
  cursor: move !important;
}
